package org.rcy.ruicingmarket.oss.user;

import org.apache.ibatis.annotations.Param;
import org.rcy.framework.data.dao.BaseDao;

import java.util.List;


/**
*
* @author RuicyWu
*@Date 2021-12-22 14:34:38
*/
public interface OssUserDao extends BaseDao<OssUser>
{
    OssUser findByAccount(@Param("account") String account);
    void bindRole(@Param("userId")Long userId,@Param("roleId")Long roleId);
    List<OssUser> getByUserName(@Param("userName")String userName);
}
